﻿//创建时间: 2010-12-10
//创建作者: 李城
//功能说明: CMS系统 评论信息关联 
//最后修改: 2010-12-10
using System;
using System.Collections.Generic;
using System.Text;

using TRPOP.Common;

namespace TRPOP.CMS.Model
{
    [Serializable]
    public class RecomContentInfo
    {
        #region 私有变量
        private int m_intRecomId = 0;
        private int m_intContentId = 0;
        private bool m_blnIsAnonymity = false;
        private int m_intAddUserId = 0;
        private string m_strUserName = "";
        private DateTime m_datAddTime = StringExtension.NullDateTime;
        private bool m_blnIsAudit = false;
        private string m_strIP = "";
        #endregion

        #region 成员函数

        /// <summary>
        ///  评论信息id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int RecomId
        {
            get
            {
                return m_intRecomId;
            }
            set
            {
                m_intRecomId = value;
            }
        }

        /// <summary>
        ///  内容id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int ContentId
        {
            get
            {
                return m_intContentId;
            }
            set
            {
                m_intContentId = value;
            }
        }

        /// <summary>
        ///  是否匿名
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public bool IsAnonymity
        {
            get
            {
                return m_blnIsAnonymity;
            }
            set
            {
                m_blnIsAnonymity = value;
            }
        }

        /// <summary>
        ///  用户id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int AddUserId
        {
            get
            {
                return m_intAddUserId;
            }
            set
            {
                m_intAddUserId = value;
            }
        }

        /// <summary>
        ///  用户称谓
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string UserName
        {
            get
            {
                return m_strUserName;
            }
            set
            {
                m_strUserName = value;
            }
        }

        /// <summary>
        ///  评论时间
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public DateTime AddTime
        {
            get
            {
                return m_datAddTime;
            }
            set
            {
                m_datAddTime = value;
            }
        }

        /// <summary>
        ///  是否审核通过
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public bool IsAudit
        {
            get
            {
                return m_blnIsAudit;
            }
            set
            {
                m_blnIsAudit = value;
            }
        }

        /// <summary>
        ///  评论者IP
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string IP
        {
            get
            {
                return m_strIP;
            }
            set
            {
                m_strIP = value;
            }
        }

        #endregion

    }
}







